package cn.mesmile.lock.model.packet.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zb
 * @date 2020/12/26 17:01
 * @Description
 */
@Data
@TableName("red_packet_info")
public class RedPacketInfo {

    @TableId(type = IdType.NONE)
    private Long id;

    private Long redPacketId;

    private BigDecimal totalAmount;

    private Integer totalPacket;

    private BigDecimal remainingAmount;

    private Integer remainingPacket;

    private Long uid;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

}
